package com.wwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wwz.entity.Company;
import com.wwz.query.CompanyQuery;

public interface ICompanyService extends IService<Company> {

    /**
     * 分页查询
     * @param query
     * @return
     */
    IPage<Company> toPage(CompanyQuery query);

    /**
     * 添加或修改
     * @param company
     */
    void addOrUpData(Company company);

    /**
     * 删除
     * @param id
     */
    void deleteById(String id);
}
